import request from './request';


/**
 * @description 获取轮播图
 * @returns {Object} 轮播图数据
 */
 export const getTopBanners = () => {
  return request({
      url: '/banner'
  })
 }

 /**
  * @description 获取推荐歌单
  * @param {*} num
  * @returns
  */
export const getPersonalized = (num) => {
  return request({
     url: `/personalized?limit=${num}`
   })
 }
